package com.java83.controller;

import com.java83.entity.myResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorController {
    @RequestMapping("/401")
    public myResponseEntity<String> error401() {
        return new myResponseEntity<>(401, "权限认证失败", null);
    }
}
